"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _qrcodeTerminal = _interopRequireDefault(require("qrcode-terminal"));

var _default = function _default(qrcode, status) {
  _qrcodeTerminal.default.generate(qrcode, {
    small: true
  }); // show qrcode on console


  var qrcodeImageUrl = ['https://api.qrserver.com/v1/create-qr-code/?data=', encodeURIComponent(qrcode)].join('');
  console.log(qrcodeImageUrl);
};

exports.default = _default;